package com.lwlk.zdk.mapper.T;

import com.lwlk.zdk.model.T.TDisStaff;
import com.lwlk.zdk.model.T.TDisStaffExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface TDisStaffMapper {
    int countByExample(TDisStaffExample example);

    int deleteByExample(TDisStaffExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TDisStaff record);

    int insertSelective(TDisStaff record);

    List<TDisStaff> selectByExample(TDisStaffExample example);

    TDisStaff selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TDisStaff record, @Param("example") TDisStaffExample example);

    int updateByExample(@Param("record") TDisStaff record, @Param("example") TDisStaffExample example);

    int updateByPrimaryKeySelective(TDisStaff record);

    int updateByPrimaryKey(TDisStaff record);

    List<Map<String, Object>> selectDriver(@Param("vehicleNumber") String vehicleNumber);

    TDisStaff selectDriverDetail(@Param("driverName") String driverName);

    TDisStaff selectByName(@Param("idcard") String idcard);
}